import { request } from '@/service'

/**
 * 获取所有角色
 */
export function getEntireRoles() {
  return request.post({
    url: '/role/list'
  })
}

/**
 * 获取所有部门
 */
export function getEntireDepartment() {
  return request.post({
    url: '/department/list'
  })
}

export function getEntireMenus() {
  return request.post({
    url: '/menu/list'
  })
}
